Vue.component("lunbo",{
    template:`<div class="tp-lunbo flex justifycenter">
            <div @click="left()" class="tp-left"></div>
            <div class="tp-center">
                <ul class="tp-center-kuan flex justifycenter">
                    <li v-for="item in lunbo">
                        <img :src="item.pic">
                    </li>
                </ul>
            </div>
            <div @click="left()"class="tp-right"></div>
        </div>`,
    props:['lunbo'],
    methods:{
        left(){

        },
        right(){

        }

    }

})